package com.songcha.library_database_douyue.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

/***
 * 书籍详情表
 */
@Entity
public class BookDetailDBBean {
    @Id(autoincrement = true)
    private Long id=null;
    @Unique
    private String bookId="";
    private String name="";
    private String thumb="";
    private String author="";
    private String catalog="";
    private String update="";
    private int textCount=0;
    private int chapterCount=1;
    private String desc="";
    private int status=0;
    private int channelId=0;
    private int isVip=0;
    private int cid=0;
    @Generated(hash = 1749726273)
    public BookDetailDBBean(Long id, String bookId, String name, String thumb,
            String author, String catalog, String update, int textCount,
            int chapterCount, String desc, int status, int channelId, int isVip,
            int cid) {
        this.id = id;
        this.bookId = bookId;
        this.name = name;
        this.thumb = thumb;
        this.author = author;
        this.catalog = catalog;
        this.update = update;
        this.textCount = textCount;
        this.chapterCount = chapterCount;
        this.desc = desc;
        this.status = status;
        this.channelId = channelId;
        this.isVip = isVip;
        this.cid = cid;
    }
    @Generated(hash = 323745283)
    public BookDetailDBBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getBookId() {
        return this.bookId;
    }
    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getThumb() {
        return this.thumb;
    }
    public void setThumb(String thumb) {
        this.thumb = thumb;
    }
    public String getAuthor() {
        return this.author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public String getCatalog() {
        return this.catalog;
    }
    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }
    public String getUpdate() {
        return this.update;
    }
    public void setUpdate(String update) {
        this.update = update;
    }
    public int getTextCount() {
        return this.textCount;
    }
    public void setTextCount(int textCount) {
        this.textCount = textCount;
    }
    public int getChapterCount() {
        return this.chapterCount;
    }
    public void setChapterCount(int chapterCount) {
        this.chapterCount = chapterCount;
    }
    public String getDesc() {
        return this.desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public int getChannelId() {
        return this.channelId;
    }
    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }
    public int getIsVip() {
        return this.isVip;
    }
    public void setIsVip(int isVip) {
        this.isVip = isVip;
    }
    public int getCid() {
        return this.cid;
    }
    public void setCid(int cid) {
        this.cid = cid;
    }




}
